package com.qf.zhouce0630.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

/**
 * @Author UNIQ7xi
 * @Date 2023/6/30 20:04
 * @Version v1.8
 **/
@Data
@Document(indexName = "product_index", type = "product")
public class Product {
    @Id
    private String productId;
    private String productName;
    private int categoryId;
    private int rootCategoryId;
    private int soldNum;
    private int productStatus;
    private String content;
    private Date createTime;
    private Date updateTime;
    private int productFlag;
}
